From 243f2b2f0f2da9735885978a6773b77a7bd139eb Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 23 Aug 2024 23:53:29 -0700 Subject: rename ecash routes --- src/routes/(app)/ecash/[id]/+layout.svelte | 53 ++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 src/routes/(app)/ecash/[id]/+layout.svelte (limited to 'src/routes/(app)/ecash/[id]/+layout.svelte') diff --git a/src/routes/(app)/ecash/[id]/+layout.svelte b/src/routes/(app)/ecash/[id]/+layout.svelte new file mode 100644 index 00000000..d3c95e00 --- /dev/null +++ b/src/routes/(app)/ecash/[id]/+layout.svelte @@ -0,0 +1,53 @@ + + +
+

+ {$t("payments.ecash")} +

+ + {#if amount > 0} +
+
+ {f(amountFiat, currency)} +
+
+ ⚡️{`${s(amount)}`} +
+
+ {/if} + + {#if spent > 0} +
+
+ {f(spentFiat, currency)} + {$t("payments.spent")} +
+
+ ⚡️{`${s(spent)}`} +
+
+ {/if} + + +
-- cgit v1.2.3